ResultProviderSupplier

Builds a Supplier of values from a config

Author

fzzyhmstrs

Since

0.5.3

Parameters

T

non-null type to build a supplier of

Functions

Link copied to clipboard
abstract fun supplier(scope: String, config: Config, thing: Any, property: KMutableProperty<*>): Supplier<T>

Creates a result supplier from config values. Since configs are by design mutable in-game, the result should freshly inspect the value on every get().